package com.project.demo.entity.edu;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("edu_course_progress")
@Data
public class EduCourseProgress {
	/**
	 *
	 */
	@ApiModelProperty(value = "ID")
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 课程id
	 */
	@ApiModelProperty(value = "课程id")
	@TableField("c_id")
	private Integer cId;

	/**
	 * 学生id
	 */
	@ApiModelProperty(value = "学生id")
	@TableField("u_id")
	private Integer uId;

	/**
	 * 课程进度
	 */
	@TableField("progress")
	@ApiModelProperty(value = "课程进度")
	private Integer progress;

	@TableField(exist = false)
	@ApiModelProperty(value = "课程总数")
	private Integer sumCount;
}